<template>
    <div class="login">
      <el-row :gutter="20">
        <el-col :span="6"><div class="grid-content bg-purple">城标</div></el-col>
        <el-col :span="6"><div class="grid-content bg-purple">fdfdsfds</div></el-col>
        <el-col :span="6"><div class="grid-content bg-purple">埼</div></el-col>
        <el-col :span="6"><div class="grid-content bg-purple">双方都是否地方但是</div></el-col>
      </el-row>

        <el-input v-model="userName" placeholder="账号"></el-input>
        <el-input :type="'password'" v-model="passWord" placeholder="密码"></el-input>
      <el-button>默认按钮</el-button>
      <el-button type="primary">主要按钮</el-button>
      <el-button type="text">文字按钮</el-button>
    </div>
</template>

<script>
export default {
  data () {
    return {
      userName: '请输入用户名',
      passWord: ''
    }
  }
}

</script>

<style lang="scss" scoped>
  /*.login{*/
    /*width: 200px;*/
    /*height: 200px;*/
  /*}*/
  .el-row {
    margin-bottom: 20px;
    &:last-child {
      margin-bottom: 0;
    }
  }
  .el-col {
    border-radius: 4px;
  }
  .bg-purple-dark {
    background: #99a9bf;
  }
  .bg-purple {
    background: #d3dce6;
  }
  .bg-purple-light {
    background: #e5e9f2;
  }
  .grid-content {
    border-radius: 4px;
    min-height: 36px;
  }
  .row-bg {
    padding: 10px 0;
    background-color: #f9fafc;
  }
</style>
